﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucDefault.ascx.cs" Inherits="ucControl_ucDefault" %>
<div id="boxes">
    <asp:FormView ID="formPopup" runat="server">
        <ItemTemplate>
            <div style="top: 199.5px; left: 551.5px; display: none;" id="dialog" class="window">
                <a class="popup" href="#">THÔNG TIN HONDA AUTO PRO
                    <img src="images/news_1339666923hot_icon.gif" alt="" width="64px" height="64px" /></a><p
                        style="padding-top: 10px;">
                        <%# Eval("NoiDung") %>
                    </p>
                <a href="#" class="close">Close it</a>
            </div>
        </ItemTemplate>
    </asp:FormView>
    <!-- Mask to cover the whole screen -->
    <div style="width: 1378px !important; height: 602px; display: none; opacity: 0.8;"
        id="mask">
    </div>
</div>
<div class="content_in">
    <asp:Repeater ID="rpDongxe" runat="server">
        <ItemTemplate>
            <div class="dongxe">
                <div class="img_xe">
                    <div class="item_xe">
                        <a title="" href='<%# "SanPham.aspx?idP=" + Eval("IDMenuParent") %>'>
                            <img src='<%# "Admin/img/Items/" + Eval("ImageURL")  %>' alt="" />
                        </a>
                    </div>
                    <p class="name_xe">
                        <a href="#">
                            <%# Eval("MenuParentName")%></a></p>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
<div class="thongtin">
    <div class="col_11">
        <h5>
            TIN TỨC &amp; SỰ KIỆN</h5>
        <div class="box1">
            <asp:Repeater ID="rpTinTuc" runat="server">
                <ItemTemplate>
                    <table class="tt_sukien">
                        <tr>
                            <td>
                                <p style="text-align: center;">
                                    <%# Convert.ToDateTime(Eval("Datetime")).ToString("dd/MM/yyyy") %></p>
                            </td>
                            <td>
                                <p>
                                    <a href='<%# "ChiTietTinTucSuKien.aspx?id=" + Eval("ID")  %>'>
                                        <%# Eval("TieuDe") %></a></p>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <p class="bt_details1">
            <a href="TinTucSuKien.aspx">Xem chi tiết</a></p>
    </div>
    <div class="col_1">
        <h5>
            khách hàng</h5>
        <asp:Repeater ID="rpKhachhang" runat="server">
            <ItemTemplate>
                <div class="box">
                    <div class="box_img">
                        <a href="Khachhang.aspx"></a>
                        <p>
                            <img vspace="10" hspace="20" align="left" width="100px" style="border-width: 0px;
                                padding-right: 10px;" src='<%# "Admin/img/Items/" + Eval("ImageURL")  %>' height="125"
                                alt="CR-V" />
                            <%# Eval("TieuDe") %></p>
                    </div>
                </div>
                <p class="bt_details1">
                    <a href="Khachhang.aspx">Xem chi tiết</a></p>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="col_1" style="float: right">
        <h5>
            Lái thử xe</h5>
        <div class="box">
            <div>
                <p style="line-height: 24px; padding-left: 10px;">
                    Quý khách hàng có thể lựa chọn những hình thức dưới đây để đăng ký lái thử xe.</p>
                <ul style="padding-left: 32px; line-height: 24px; font-weight: bold;">
                    <li>Lái xe thử tại Showroom</li>
                    <li>Lái xe thử theo yêu cầu</li>
                    <li>Lái thử xe theo chương trình</li>
                </ul>
            </div>
        </div>
        <p class="bt_details1">
            <a href="LaiThuXe.aspx">Đăng Ký</a></p>
    </div>
    <asp:FormView ID="formKM" runat="server">
        <ItemTemplate>
            <div class="col_1">
                <h5>
                    KHUYẾN MÃI</h5>
                <div class="box">
                    <div class="box_text">
                        <p style="line-height: 24px;">
                            <asp:Label ID="lbKhuyenMai" runat="server" Text='<%# Eval("TieuDe") %>'></asp:Label>
                        </p>
                    </div>
                </div>
                <p class="bt_details1">
                    <a href="details.html">Xem chi tiết</a></p>
            </div>
        </ItemTemplate>
    </asp:FormView>
</div>
